﻿


/*

Settings Module - contains constants.

myHttp server should use this module.

*/


// 1 min The timeout for a request
exports.TIMEOUT_MIN = 60;

// 2 sec (see 2.3) 
// time have passed since the last request over this connectionLAST_REQUEST_TIMEOUT_SEC
exports.LAST_REQUEST_TIMEOUT_SEC = 2
// 30 min (see 5.1)  
// if user didn’t send a request for at least 30 min 
// any reference to his/her session object should be deleted, 
exports.SESSION_TIMEOUT_MIN = 30;

//The session cookie name
exports.SESSION_COOKIE_KEY = "Session";



